home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 1998 November / IRIX 6.5.2 Base Documentation November 1998.img / usr / share / catman / u_man / cat1 / tftp.z / tftp
Text File  |  1998-10-20  |  5KB  |  133 lines

  1.  
  2.  
  3.  
  4. TTTTFFFFTTTTPPPP((((1111CCCC))))                                                              TTTTFFFFTTTTPPPP((((1111CCCC))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      tftp - trivial file transfer program
  10.  
  11. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  12.      ttttffffttttpppp [ host ]
  13.  
  14. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  15.      _T_f_t_p is the user interface to the Internet TFTP (Trivial File Transfer
  16.      Protocol), which allows users to transfer files to and from a remote
  17.      machine.  The remote _h_o_s_t may be specified on the command line, in which
  18.      case _t_f_t_p uses _h_o_s_t as the default host for future transfers (see the
  19.      ccccoooonnnnnnnneeeecccctttt command below).
  20.  
  21. CCCCOOOOMMMMMMMMAAAANNNNDDDDSSSS
  22.      Once _t_f_t_p is running, it issues the prompt ttttffffttttpppp>>>> and recognizes the
  23.      following commands:
  24.  
  25.      ccccoooonnnnnnnneeeecccctttt _h_o_s_t-_n_a_m_e [ _p_o_r_t ]
  26.           Set the _h_o_s_t (and optionally _p_o_r_t) for transfers.  Note that the
  27.           TFTP protocol, unlike the FTP protocol, does not maintain
  28.           connections between transfers; thus, the _c_o_n_n_e_c_t command does not
  29.           actually create a connection, but merely remembers what host is to
  30.           be used for transfers.  You do not have to use the _c_o_n_n_e_c_t command;
  31.           the remote host can be specified as part of the _g_e_t or _p_u_t commands.
  32.  
  33.      mmmmooooddddeeee _t_r_a_n_s_f_e_r-_m_o_d_e
  34.           Set the mode for transfers; _t_r_a_n_s_f_e_r-_m_o_d_e may be one of _a_s_c_i_i or
  35.           _b_i_n_a_r_y.  The default is _a_s_c_i_i.
  36.  
  37.      ppppuuuutttt _f_i_l_e
  38.      ppppuuuutttt _l_o_c_a_l_f_i_l_e _r_e_m_o_t_e_f_i_l_e
  39.      ppppuuuutttt _f_i_l_e_1 _f_i_l_e_2 ... _f_i_l_e_N _r_e_m_o_t_e-_d_i_r_e_c_t_o_r_y
  40.           Put a file or set of files to the specified remote file or
  41.           directory.  The destination can be in one of two forms:  a filename
  42.           on the remote host, if the host has already been specified, or a
  43.           string of the form _h_o_s_t:_f_i_l_e_n_a_m_e to specify both a host and filename
  44.           at the same time.  If the latter form is used, the hostname
  45.           specified becomes the default for future transfers.  If the remote-
  46.           directory form is used, the remote host is assumed to be a _U_N_I_X
  47.           machine.
  48.  
  49.      ggggeeeetttt _f_i_l_e_n_a_m_e
  50.      ggggeeeetttt _r_e_m_o_t_e_n_a_m_e _l_o_c_a_l_n_a_m_e
  51.      ggggeeeetttt _f_i_l_e_1 _f_i_l_e_2 ... _f_i_l_e_N
  52.           Get a file or set of files from the specified _s_o_u_r_c_e_s.  _S_o_u_r_c_e can
  53.           be in one of two forms:  a filename on the remote host, if the host
  54.           has already been specified, or a string of the form _h_o_s_t:_f_i_l_e_n_a_m_e to
  55.           specify both a host and filename at the same time.  If the latter
  56.           form is used, the last hostname specified becomes the default for
  57.           future transfers.
  58.  
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70. TTTTFFFFTTTTPPPP((((1111CCCC))))                                                              TTTTFFFFTTTTPPPP((((1111CCCC))))
  71.  
  72.  
  73.  
  74.      qqqquuuuiiiitttt Exit _t_f_t_p.  An end of file also exits.
  75.  
  76.      vvvveeeerrrrbbbboooosssseeee
  77.           Toggle verbose mode.
  78.  
  79.      ttttrrrraaaacccceeee
  80.           Toggle packet tracing.
  81.  
  82.      ssssttttaaaattttuuuussss
  83.           Show current status.
  84.  
  85.      rrrreeeexxxxmmmmtttt _r_e_t_r_a_n_s_m_i_s_s_i_o_n-_t_i_m_e_o_u_t
  86.           Set the per-packet retransmission timeout, in seconds.
  87.  
  88.      ttttiiiimmmmeeeeoooouuuutttt _t_o_t_a_l-_t_r_a_n_s_m_i_s_s_i_o_n-_t_i_m_e_o_u_t
  89.           Set the total transmission timeout, in seconds.
  90.  
  91.      aaaasssscccciiiiiiii
  92.           Shorthand for "mode ascii"
  93.  
  94.      bbbbiiiinnnnaaaarrrryyyy
  95.           Shorthand for "mode binary"
  96.  
  97.      ????  [ _c_o_m_m_a_n_d-_n_a_m_e ... ]
  98.           Print help information.
  99.  
  100. BBBBUUUUGGGGSSSS
  101.      Because there is no user-login or validation within the _T_F_T_P protocol,
  102.      the remote site will probably have some sort of file-access restrictions
  103.      in place.  The exact methods are specific to each site and therefore
  104.      difficult to document here.  See _t_f_t_p_d(1M) for details about customizing
  105.      file-access restrictions on IRIX.
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.                                                                         PPPPaaaaggggeeee 2222
  130.  
  131.  
  132.  
  133.